<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
<html>
    <head>
        <title>core:array:random</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" href="nbdocs:/net/neilcsmith/praxis/live/help/docs/help.css" type="text/css">
    </head>
    <body>
        <h1>core:array:random</h1>
        <p>Stores an array (list) of arguments, and selects and sends one randomly when triggered.</p>
        <p>If the array is empty, an empty string will be sent instead.</p>
        <h2>Ports</h2>
        <table border="1" cellpadding="5" cellspacing="0">
        <thead>
            <tr>
                <th>ID</th>
                <th>Type</th>
                <th>Direction</th>
                <th>Values</th>
                <th>Description</th>
            </tr>
        </thead>
        <tbody>
            
            <tr>
                <td><b>trigger</b></td>
                <td>control</td>
                <td>in</td>
                <td>argument</td>
                <td>Triggers sending of a value when a signal is received.</td>
            </tr>
            <tr>
                <td><b>out</b></td>
                <td>control</td>
                <td>out</td>
                <td>argument</td>
                <td>Outputted value.</td>
            </tr>
            <tr>
                <td><b>values</b></td>
                <td>control</td>
                <td>in</td>
                <td>array</td>
                <td>The array of values.</td>
            </tr>
        </tbody>
    </table>
        <h2>Controls</h2>
        <table border="1" cellpadding="5" cellspacing="0">
            <thead>
                <tr>
                    <th>ID</th>
                    <th>Type</th>
                    <th>Input</th>
                    <th>Output</th>
                    <th>Default</th>
                    <th>Description</th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td><b>trigger</b></td>
                    <td>action</td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td>Trigger sending of value from output port.</td>
                </tr>
                <tr>
                    <td><b>values</b></td>
                    <td>property</td>
                    <td>array</td>
                    <td></td>
                    <td>{}</td>
                    <td>The array of values.</td>
                </tr>
                
            </tbody>
        </table>

    </body>
</html>
